//
//  HomeScroolerCell.m
//  CookProjecs
//
//  Created by 李家瑞 on 16/3/9.
//  Copyright © 2016年 李家瑞. All rights reserved.
//

#import "HomeScroolerCell.h"

static CGFloat CELL_HEIGHT =120;

@interface HomeScroolerCell ()

@property(nonatomic,strong)UIScrollView *scrollView;

@end


@implementation HomeScroolerCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        //要初始化 scroller
        [self initScroller];
    }
    return self;
}


- (void)setDataArry:(NSArray *)dataArry
{
    _dataArry = dataArry;
    
    
    
}

- (void)initScroller
{
    self.scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 100)];
    
    [self.contentView addSubview:self.scrollView];
}

+ (CGFloat)getCellHeight
{
    return CELL_HEIGHT;
}



@end
